home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
PASDEMO2
/
TESTKBD1.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1988-01-15
|
228b
|
12 lines
program TestKbd;
uses Crt, Turbo3;
var
c: char;
begin
read( Kbd, c );
if ( c = #27 ) and KeyPressed then begin
read( Kbd, c );
writeln( 'Extended key: ', c );
end else
writeln( c );
end.